﻿// 定义变量
@baseColor: #068043;

font-face body {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;

    &:hover {
        text-decoration: none;
        color: #333;
    }
}

.m_l10 {
    margin-left: 10px;
}

.m_r10 {
    margin-left: 10px;
}

@font-face {
    font-family: 'jtweb';
    src: url('../fonts/MiFie-Web-Font.eot');
    /*IE9*/
    src: url('../fonts/MiFie-Web-Font.eot') format('embedded-opentype'),
        /*IE6-IE8*/
        url('../fonts/MiFie-Web-Font.woff')format('woff'),
        /*chrome firefox*/
        url('../fonts/MiFie-Web-Font.ttf')format('truetype'),
        /*any*/
        url('../fonts/MiFie-Web-Font.svg')format('svg');
}

@media (max-width:767px) {
    .hidden-xs {
        display: none !important
    }
}

@media (min-width:768px) and (max-width:991px) {
    .hidden-sm {
        display: none !important
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .hidden-md {
        display: none !important
    }
}

.jt_icon {
    font-family: jtweb;
}

/* 手机 */
.jt_icon_phone::before {
    content: "\e908";
}

/* 电话 */
/* 左左 */
.jt_icon_tel::before {
    content: "\e909";
    font-size: 14px;
}

.jt_icon_logo::before {
    content: "\e920";
}

.jt_icon_text::before {
    content: "\e93e";
}


/* 头部 */
.jt_header {
    height: 50px;

    line-height: 50px;

    >.row {
        height: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;

        >div:nth-of-type(-n+3) {
            border-right: 1px solid #ccc;

            >.jt_code {
                position: relative;
                display: block;


                >img {
                    width: 120px;
                    display: none;
                    position: absolute;
                    top: 49px;
                    left: 50%;
                    transform: translateX(-50%);
                    border: 1px solid #ccc;
                    border-top: none;
                }

                &:hover {
                    >img {
                        display: block
                    }
                }
            }
        }

        >div:nth-last-of-type(1) {
            >.btn-danger {
                background-color: @baseColor;
                border-color: @baseColor;

                &:focus {
                    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
                }

                
            }
        }

        >.btn {
            padding: 3px 15px;
        }

        >.btn-link {
            color: #333;

            &:hover {
                text-decoration: none;
            }
        }
    }



}


/* 导航条样式 */
.jt_nav {

    .navbar-brand {
        height: 80px;
        line-height: 70px;

        > .jt_icon {
            font-size: 40px;
        }

        > span:first-of-type {
            color: @baseColor;
        }

        > span:last-of-type {
            color: red;
        }
    }
    /* 修改导航项的样式 */
    .navbar-nav {
        li {
            > a {
                vertical-align: middle;

                &:hover,
                :focus {
                    border-bottom: 3px solid @baseColor;
                    color: red;
                }
            }
        }

        > .active {
            .nav-link {
                color: @baseColor;
                border-bottom: 3px solid @baseColor;
                &:hover,
                :focus {
                    color: blue;
                }
            }
        }
    }
}